package com.redshark.wmm.MeasurementProcessing;

import com.redshark.wmm.MeasurementRequestor;
import com.redshark.wmm.Bluetooth.ScopeMessage;

public class ACCurrentProcessor {
	public ACCurrentProcessor() {
	}
	
	public static Measurement displayCurrent(ScopeMessage message){
		if(message.getCommand() == MeasurementRequestor.CURRENT_SCOPE_HIGH){
			return new Measurement(message.getRMS(), 3, "A rms");
		}
		else{
			return new Measurement(message.getRMS(), 3, "mA rms");
		}
		
	}

}
